package com.edu.ujn.myh.domain;

// default package

/**
 * RolePrivInfo entity. @author MyEclipse Persistence Tools
 */

public class RolePrivInfo implements java.io.Serializable {

	// Fields

	private Integer id;
	private RoleInfo roleInfo;
	private PrivInfo privInfo;

	// Constructors

	/** default constructor */
	public RolePrivInfo() {
	}

	/** full constructor */
	public RolePrivInfo(RoleInfo roleInfo, PrivInfo privInfo) {
		this.roleInfo = roleInfo;
		this.privInfo = privInfo;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public RoleInfo getRoleInfo() {
		return this.roleInfo;
	}

	public void setRoleInfo(RoleInfo roleInfo) {
		this.roleInfo = roleInfo;
	}

	public PrivInfo getPrivInfo() {
		return this.privInfo;
	}

	public void setPrivInfo(PrivInfo privInfo) {
		this.privInfo = privInfo;
	}

}